package operation;

import book.Book;
import book.BookList;

import java.lang.annotation.Annotation;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 86135
 * Date: 2023-04-02
 * Time: 21:41
 */
public class ShowOperation implements IOPeration{
    @Override
    public void work(BookList bookList) {
        System.out.println("打印所有图书！！！");
        for(int i = 0;i< bookList.getUsedSize();i++){
            System.out.println(bookList.getBook(i));
        }
    }

}
